#include "WandorBaseState.h"

WandorBaseState::WandorBaseState() : BaseState()
{
    type = stBase;
    pushed = false;

    logicTimer.setRewind(STOP);
};

WandorBaseState::~WandorBaseState()
{
    //
}

void WandorBaseState::Activate()
{
    //
}

void WandorBaseState::logicPauseToggle()
{
    //
}

void WandorBaseState::logicPause(CRint time)
{
    logicTimer.start(time);
    while (not logicTimer.hasFinished())
    {
        logicPauseUpdate();
        render();
        GFX::forceBlit();
    }
}

void WandorBaseState::logicPauseUpdate()
{
    logicTimer.update();
}
